.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img {
  border-radius: 10px;
  object-fit: cover;
}

.img:hover {
  transform: rotate3d(1, 1, 1, 45deg) scale(1.3);
  transition: all 1s;
}